"""
【练习】
苹果的价格是 10.5 元/斤
买了 7.5 斤 苹果
计算付款金额
"""
price = input("苹果的价格：")
price = float(price)
print(type(price))
weight = input("苹果的重量：")
weight = float(weight)
money = price*weight
print("总价格是 %.2f 元" % money)
